package cn.itcast.bos.service;

import cn.itcast.bos.domain.take_delivery.Order;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

/**
 * Created by Think on 2017/9/27.
 */
public interface OrderService {

    @POST
    @Path("/order")
    @Consumes({"application/xml","application/json"})
    public void save(Order order);

    Order findByOrderNum(String orderNum);
}
